//
//  LofterMvpCourseTeamModel.m
//  Pods
//
//  Created by zmm on 8/5/2017.
//
//

#import "LofterMvpCourseTeamModel.h"

@implementation LofterMvpCourseTeamModel

@synthesize teamId = _teamId;
@synthesize accountId = _accountId;
@synthesize accountToken = _accountToken;
@synthesize nickName = _nickName;
@synthesize courseTitle = _courseTitle;
@synthesize courseDesc = _courseDesc;
@synthesize courseDetailURL = _courseDetailURL;
@synthesize userAgent = _userAgent;
@synthesize teamClosed = _teamClosed;


- (instancetype)initWithTeamId:(NSString *)teamId
                     accountId:(NSString *)accountId
                  accountToken:(NSString *)accountToken
                      nickName:(NSString *)nickName
                   courseTitle:(NSString *)courseTitle
                    courseDesc:(NSString *)courseDesc
               courseDetailUrl:(NSString *)courseDetailUrl
                     userAgent:(NSString *)userAgent
                    teamClosed:(BOOL)teamClosed
{
    if (self = [super init]) {
        _teamId = teamId;
        _accountId = accountId;
        _accountToken = accountToken;
        _nickName = nickName;
        _courseTitle = courseTitle;
        _courseDesc = courseDesc;
        _courseDetailURL = [NSURL URLWithString:courseDetailUrl];
        _userAgent = userAgent;
        _teamClosed = teamClosed;
    }
    return self;
}

@end
